public class CPU {

    int speed;

    void setSpeed(int m) {
        /*
         * 将参数m的值赋值给speed
         */
        speed = m;

    }

    int getSpeed() {
        /*
         * 返回speed的值
         */
        return speed;

    }

}